import request from '@/utils/request'

// 首页 附近的服务
export function nearSpecialProducts (data) {
  return request({
    url: '/front/product/nearSpecialProducts',
    method: 'GET',
	data,
	isAuth: false
  },1)
}

// 商品列表
export function frontPage (data) {
  return request({
    url: '/front/product/frontPage',
    method: 'GET',
	data,
	isAuth: false
  },1)
}

// 商品详情
export function frontDetail (data) {
  return request({
    url: '/front/product/frontDetail',
    method: 'GET',
	data
  })
}

//
export function getSuperMarketList() {
  return request({
    url: '/front/product/getSuperMarkets',
    method: 'GET',
	isAuth: false
  })
}


// 商品分类
export function selectByType (data) {
  return request({
    url: '/front/productCategory/selectByType',
    method: 'GET',
	data,
	isAuth: false
  })
}





